package com.java.base.exercise.current;

import java.util.concurrent.Phaser;

/**
 * @Author RenPu
 * @Date 2024/2/1 10:25
 * @Version 1.0
 * @Description:
 **/
public class PhaserDemo {


    static Phaser phaser;


    public static void main(String[] args) {

        phaser.arriveAndDeregister();
        phaser.arriveAndAwaitAdvance();
        phaser.getUnarrivedParties();
    }


}
